PEIsPrintJobFinished

Use PEIsPrintJobFinished to monitor the print job to see if it is finished or still in progress. You can use this function any time you have a call that is contingent on a print job being finished.

C Syntax
BOOL CRPE_API PEIsPrintJobFinished (
        short printJob );
Parameter

printJob

Specifies the print job that you want to query to determine if it has finished printing.

Returns
Remarks

PEIsPrintJobFinished will return TRUE immediately after the report has been displayed in the preview window, even if that preview window is still open.

VB Syntax
Declare Function PEIsPrintJobFinished Lib "crpe32.dll" (ByVal printJob _
        As Integer) As Integer
Delphi Syntax
function PEIsPrintJobFinished (
    printJob: Word
    ): Bool stdcall;
dBASE for Windows Syntax
EXTERN CLOGICAL PEIsPrintJobFinished (CWORD) CRPE.DLL


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com